using Magiq.Behaviors;

namespace Magiq.Insert
{
    public interface IInsertBehavior : IMagiqBehavior
    {
        IInsertStrategy GetInsertStrategy<TSource, TDestination, TNew>(IInsert<TSource, TDestination, TNew> insert)
            where TDestination : class
            where TNew : class, TDestination, new();

        int Execute(IInsertStrategy strategy);
    }
}